cmake_minimum_required(VERSION 3.15)
message(STATUS "The CMAKE_VERSION is ${CMAKE_VERSION}.")
message(STATUS " -- PROJECT_SOURCE_DIR/build/lib is ${PROJECT_SOURCE_DIR}/build/lib")
# include_directories("${MPI_CXX_INCLUDE_DIRS}")
# find_package(xpmem REQUIRED)

# add the executable
include_directories(${PROJECT_SOURCE_DIR}/include)
set(SRC_LIST xpmem_ring.cpp)

add_executable(${PROJECT_NAME} ${SRC_LIST})
TARGET_LINK_LIBRARIES(${PROJECT_NAME} xpmem)
# target_link_libraries(${PROJECT_NAME} ${MPI_LIBRARIES})